home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 63142 / 63142.xpi / older / tkp22.xpi / chrome / content / ff-overlay.js < prev    next >
Text File  |  2010-01-24  |  479b  |  13 lines

  1. ketkpin.onFirefoxLoad = function(event) {
  2.   document.getElementById("contentAreaContextMenu")
  3.           .addEventListener("popupshowing", function (e){ ketkpin.showFirefoxContextMenu(e); }, false);
  4. };
  5.  
  6. ketkpin.showFirefoxContextMenu = function(event) {
  7.   // show or hide the menuitem based on what the context menu is on
  8.   //document.getElementById("context-ketkpin").hidden = gContextMenu.onImage;
  9.  
  10. };
  11.  
  12. window.addEventListener("load", ketkpin.onFirefoxLoad, false);
  13.